package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.role.RoleDTO;
import com.qk.entity.Role;

import java.util.List;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-08 7:21
 */
public interface RoleService {
    PageResult<Role> listPage(RoleDTO roleDTO);

    void deleteById(Integer id);

    void addRole(Role role);

    Role getById(Integer id);

    void updateRole(Role role);

    List<Role> listAll();
}
